package com.ctg.itrdc.sysmgr.permission.core.utils;

import org.apache.shiro.crypto.hash.SimpleHash;

public class PasswordHelper {

	public static String encryptPassword(String password,String algorithmName,int hashIterations) {
		return new SimpleHash(algorithmName, password, null, hashIterations).toBase64();
	}

}
